package cn.ellacat.game.guess;

/**
 * @author wjc133
 */
public class GuessYouException extends Exception {
    private int code;

    public GuessYouException(StatusCode code) {
        super(code.getMsg());
        this.code = code.getCode();
    }

    public int getCode() {
        return this.code;
    }
}
